.class public Lcom/instagram/android/fragment/aj;
.super Lcom/instagram/e/b/b;
.source "CompositeSearchFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# static fields
.field public static a:Lcom/instagram/android/fragment/fm;


# instance fields
.field private b:Lcom/instagram/android/fragment/fg;

.field private c:Lcom/instagram/android/fragment/fo;

.field private d:Lcom/instagram/android/fragment/fq;

.field private e:Z

.field private f:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 22
    sget-object v0, Lcom/instagram/android/fragment/fm;->b:Lcom/instagram/android/fragment/fm;

    sput-object v0, Lcom/instagram/android/fragment/aj;->a:Lcom/instagram/android/fragment/fm;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .prologue
    .line 18
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    .line 28
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/instagram/android/fragment/aj;->e:Z

    return-void
.end method

.method private a(Lcom/instagram/android/fragment/fg;)V
    .locals 2
    .parameter

    .prologue
    .line 91
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    .line 92
    iput-object p1, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    .line 93
    iget-object v1, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/fg;->ad()V

    .line 94
    iget-object v1, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    if-eq v0, v1, :cond_0

    .line 95
    invoke-virtual {v0}, Lcom/instagram/android/fragment/fg;->ae()V

    .line 97
    :cond_0
    return-void
.end method

.method private b(Lcom/instagram/android/fragment/fm;)Lcom/instagram/android/fragment/fg;
    .locals 1
    .parameter

    .prologue
    .line 100
    sget-object v0, Lcom/instagram/android/fragment/fm;->b:Lcom/instagram/android/fragment/fm;

    if-ne p1, v0, :cond_0

    .line 101
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->d:Lcom/instagram/android/fragment/fq;

    .line 103
    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->c:Lcom/instagram/android/fragment/fo;

    goto :goto_0
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 34
    new-instance v0, Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/aj;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    .line 35
    sget v1, Lcom/facebook/aw;->frame_layout:I

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setId(I)V

    .line 36
    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 78
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/fg;->a()Lcom/instagram/a/a;

    move-result-object v0

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 41
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/os/Bundle;)V

    .line 42
    new-instance v0, Lcom/instagram/android/fragment/fo;

    invoke-direct {v0}, Lcom/instagram/android/fragment/fo;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/fragment/aj;->c:Lcom/instagram/android/fragment/fo;

    .line 43
    new-instance v0, Lcom/instagram/android/fragment/fq;

    invoke-direct {v0}, Lcom/instagram/android/fragment/fq;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/fragment/aj;->d:Lcom/instagram/android/fragment/fq;

    .line 45
    sget-object v0, Lcom/instagram/android/fragment/aj;->a:Lcom/instagram/android/fragment/fm;

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/aj;->b(Lcom/instagram/android/fragment/fm;)Lcom/instagram/android/fragment/fg;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    .line 47
    invoke-virtual {p0}, Lcom/instagram/android/fragment/aj;->n()Landroid/support/v4/app/r;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/r;->a()Landroid/support/v4/app/af;

    move-result-object v0

    .line 48
    sget v1, Lcom/facebook/aw;->frame_layout:I

    iget-object v2, p0, Lcom/instagram/android/fragment/aj;->c:Lcom/instagram/android/fragment/fo;

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/af;->a(ILandroid/support/v4/app/Fragment;)Landroid/support/v4/app/af;

    move-result-object v0

    sget v1, Lcom/facebook/aw;->frame_layout:I

    iget-object v2, p0, Lcom/instagram/android/fragment/aj;->d:Lcom/instagram/android/fragment/fq;

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/af;->a(ILandroid/support/v4/app/Fragment;)Landroid/support/v4/app/af;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/af;->a()I

    .line 52
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/aj;->d(Z)V

    .line 53
    return-void
.end method

.method public a(Lcom/instagram/android/fragment/fm;)V
    .locals 1
    .parameter

    .prologue
    .line 82
    sput-object p1, Lcom/instagram/android/fragment/aj;->a:Lcom/instagram/android/fragment/fm;

    .line 83
    sget-object v0, Lcom/instagram/android/fragment/aj;->a:Lcom/instagram/android/fragment/fm;

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/aj;->b(Lcom/instagram/android/fragment/fm;)Lcom/instagram/android/fragment/fg;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/aj;->a(Lcom/instagram/android/fragment/fg;)V

    .line 84
    return-void
.end method

.method public a(Ljava/lang/CharSequence;)V
    .locals 1
    .parameter

    .prologue
    .line 87
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    invoke-virtual {v0, p1}, Lcom/instagram/android/fragment/fg;->a(Ljava/lang/CharSequence;)V

    .line 88
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 109
    const-string v0, "search"

    return-object v0
.end method

.method public w()V
    .locals 2

    .prologue
    .line 57
    invoke-super {p0}, Lcom/instagram/e/b/b;->w()V

    .line 58
    invoke-virtual {p0}, Lcom/instagram/android/fragment/aj;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->getRequestedOrientation()I

    move-result v0

    iput v0, p0, Lcom/instagram/android/fragment/aj;->f:I

    .line 59
    invoke-virtual {p0}, Lcom/instagram/android/fragment/aj;->j()Landroid/support/v4/app/j;

    move-result-object v0

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->setRequestedOrientation(I)V

    .line 61
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/aj;->a(Lcom/instagram/android/fragment/fg;)V

    .line 63
    iget-boolean v0, p0, Lcom/instagram/android/fragment/aj;->e:Z

    if-eqz v0, :cond_0

    .line 64
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/fg;->ab()V

    .line 65
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/android/fragment/aj;->e:Z

    .line 67
    :cond_0
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 71
    invoke-super {p0}, Lcom/instagram/e/b/b;->x()V

    .line 72
    invoke-virtual {p0}, Lcom/instagram/android/fragment/aj;->j()Landroid/support/v4/app/j;

    move-result-object v0

    iget v1, p0, Lcom/instagram/android/fragment/aj;->f:I

    invoke-virtual {v0, v1}, Landroid/support/v4/app/j;->setRequestedOrientation(I)V

    .line 73
    iget-object v0, p0, Lcom/instagram/android/fragment/aj;->b:Lcom/instagram/android/fragment/fg;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/fg;->ac()V

    .line 74
    return-void
.end method
